package com.css.fxfzdzzh.modules.surfaceRupture.service;

import com.css.fxfzdzzh.base.response.RestResponse;
import com.css.fxfzdzzh.modules.surfaceRupture.entity.Fault;
import com.css.fxfzdzzh.modules.surfaceRupture.entity.SurfaceRupture;
import com.css.fxfzdzzh.modules.surfaceRupture.param.PageQueryParam;
import com.css.fxfzdzzh.modules.surfaceRupture.vo.ParamVO;
import com.css.fxfzdzzh.modules.surfaceRupture.vo.SurfaceRuptureVO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author Dbj
 * @date 2023年04月08日  13:49
 */
public interface SurfaceRuptureService {
    public SurfaceRupture evaluate(String dsrId) throws Exception;

    public void createEvaluateResult(SurfaceRuptureVO vo, BigDecimal longitude, BigDecimal latitude) throws Exception;

    Map<String, Object> page(PageQueryParam pageQueryParam);

    void delete(List<String> idList);

    String queryProvinceCityCountyNameStringByLonLat(String toString, String toString1);

    public void seismogenicStructureSstimate(BigDecimal longitude, BigDecimal latitude, List<Fault> sameNameFaultList, Fault evaluateFault, String maxParentNum) throws Exception;

    String saveSurfaceRupture(SurfaceRuptureVO vo) throws UnsupportedEncodingException;

    String hasEvaluateResult(String dsrId);

    public SurfaceRupture getSurfaceRuptureById(String dsrId);

    void saveParam(ParamVO paramVO) throws Exception;

    ParamVO getParam();

    RestResponse uploadSingleBvInformation(MultipartFile file) throws Exception;
}
